DeleteValue
TheDeleteValue
method deletes data from the focused value, starting at the offset (inclusive).
void DeleteValue (in ODULong length);
length
- The number of bytes of data to delete, expressed as an unsigned 32-bit value.
DISCUSSION
You call this method to delete data from the focused value. If that value is a promise value, the promise is fulfilled before the data is deleted. This method starts deleting data at the current offset and stops after deleting the number of bytes specified by thelength
parameter or after reaching the end of the data in the currently focused value, whichever comes first.EXCEPTIONS
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the
kODErrUnfocusedStorageUnit
- The focus context of this storage-unit view is not a value.
FocusWithCursor
method of that storage unit.SEE ALSO
TheODStorageUnitView::InsertValue
method (page 749).
TheODStorageUnitView::Remove
method (page 754).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help